import React, { Suspense } from "react";
import { HashRouter } from "react-router-dom";
import Router from "./router";
import { AuthRouter } from "./router/AuthRouter";

const App = (props) => {
  return (
    <HashRouter>
      <Suspense>
        <AuthRouter>
          <Router />
        </AuthRouter>
      </Suspense>
    </HashRouter>
  );
};
export default App;
